#ifndef VIDEODISPLAY_H
#define VIDEODISPLAY_H

#include <QWidget>
#include <QTcpSocket> //Tcp套接字类
#include <QHostAddress> //IP地址
#include "mainface.h"


namespace Ui {
class videodisplay;
}

class videodisplay : public QWidget
{
    Q_OBJECT

public:
    explicit videodisplay(QWidget *parent = 0);
    ~videodisplay();

private slots:
    void recv_data();
protected:
    void mouseDoubleClickEvent(QMouseEvent *event);//鼠标双击事件


private:
    Ui::videodisplay *ui;
    mainface *m;
    QTcpSocket *videoSocket;
};

#endif // VIDEODISPLAY_H
